package com.example.design.shejimoshi.structure.facade;

import com.example.design.shejimoshi.structure.facade.pojo.GiftInfo;

/**
 * 支付系统的PaymentService类
 */
public class PaymentService{
    public boolean pay(GiftInfo pointsGift){
        //扣减积分
        System.out.println("支付"+pointsGift.getName()+"积分成功");
        return true;
    }
}
